-
Notifications
You must be signed in to change notification settings - Fork 492
add rustdoc feature support #3470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
8a54a2c
to
fb53017
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks very reasonable - please can you add a test or two?
There are some unit tests in https://github.com/bazelbuild/rules_rust/tree/main/test/unit/rustdoc you can write a unit test for (which could show that the flags are passed to the command line)
Thanks!
a9d0d9d
to
15108ca
Compare
15108ca
to
b2a5ed2
Compare
@illicitonion the error here looks spurious |
Thanks for the test! I agree the failures look unrelated, unfortunately we have no way of bypassing or rerunning CI ourselves, but if you can push either empty commits or merge-main commits to this branch until things go green, that'd be super handy! (I'd do this myself, but I don't have permission to push to your fork) |
Oh there is a buildifier error though :) |
crate_features
to be saved as part ofCrateInfo
rust_doc
andrust_doc_test
to include the features of the crate when building the docs (enabled by default)This is my first time using bazel so I am not 100% sure of my work, feedback greatly appreciated.
fixes #511